package com.weiqiao.mall.service;

import com.weiqiao.mall.domain.SupplierEntity;
import org.bson.conversions.Bson;

import java.util.List;

/**
 * 供应商service层
 *
 * @author kjy
 * @createDate 2019-10-31
 */
public interface ISupplierService {

    /**
     * 获取供应商列表
     *
     * @param company_id
     * @param filter
     * @param sort
     * @author kjy
     */
    List<SupplierEntity> findAllSupplier(int company_id, Bson filter, Bson sort);

    SupplierEntity findSupplierInfo(int company_id, Bson filter);
}
